{
  /* Use IntelliSense to learn about possible attributes. */
  /* Hover to view descriptions of existing attributes. */
  /* For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 */
  "version": "0.2.0",
  "configurations": [
    {
      "name": "(gdb) Launch",
      "type": "cppdbg",
      "request": "launch",
      "program": "${workspaceFolder}/build/build-v2/main-tests-vm1.exe",
      "args": [],
      "preLaunchTask": "build",
      "stopAtEntry": false,
      "cwd": "${workspaceFolder}",
      "environment": [],
      "externalConsole": false,
      "MIMode": "gdb",
      "miDebuggerPath": "c:/msys64/ucrt64/bin/gdb.exe",
      "setupCommands": [
          {
              "description": "Enable pretty-printing for gdb",
              "text": "-enable-pretty-printing",
              "ignoreFailures": true
          },
          {
              "description": "Set Disassembly Flavor to Intel",
              "text": "-gdb-set disassembly-flavor intel",
              "ignoreFailures": true
          }
      ]
    },    
    {
      "presentation": {
        "hidden": true,
        "group": "",
        "order": 1
      },
     "type": "bashdb",
      "request": "launch",
      "name": "bash-debug",
      "terminalKind": "integrated",
      "cwd": "${workspaceFolder}",
      // "program": "./bin/src.sh",
      // "args": ["--target", "src/examples/substrings/main.c"]
      "program": "./bin/build.sh",
      "args": [
        "--all",
      ]
      // "args": [
      //   "--all",
      //   "--index",
      //   "3"
      // ]
    },
  ]
}
